package com.weiweiqin.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Order implements Serializable {

	private static final long serialVersionUID = -7970848646314840509L;

	/**
	 * 自动生成主键
	 */
	private int id;

	private int isKj;

	private int kjDaoNum;

	private String kjPriceList;

	private int kjStatus;

	private double kjPrice;

	/**
	 * 外部订单号
	 */
	private String outerid;
	
	/**
	 * 用户id
	 */
	private Integer customerId;
	
	/**
	 * 单品信息
	 */
	private String info;

	/**
	 * 收人人
	 */
	private String name;

	/**
	 * 手机号码
	 */
	private String mobile;
	
	private String province;
	
	private String city;
	
	private String area;

	/**
	 * 地址
	 */
	private String addr;

	/**
	 * 邮编：已失效
	 */
	private String zip = "123456";
	
	/**
	 * 付款状态
	 */
	private int payStatus;

	/**
	 * 附言
	 */
	private String remark;

	/**
	 * 0:待鉴定，1：鉴定成功，2：鉴定失败，3：非鉴别范围，4：图片质量过低,5:补全图片
	 */
	private int status;

	/**
	 * 是否失效
	 */
	private int mark;
	
	/**
	 * 订单总额
	 */
	private BigDecimal totalPrice;

	/**
	 * 下单时间
	 */
	private Date updateDate = new Date();

	/**
	 * 备忘信息
	 */
	private String memo = "";
	
	/**
	 * 支付宝交易单号
	 */
	private String tradeNo;
	
	/**
	 * 快递单号
	 */
	private String expressNo;
	
	/**
	 * 快递公司名称
	 */
	private String expressName;
	
	/**
	 * 邮寄类型，默认快递
	 * 三个值可选：1：POST（平邮）、0：EXPRESS（快递）、2：EMS（EMS）
	 */
	private int expressType = 0;
	
	/**
	 * 0:积分获取，1：闯关获取
	 */
	private int payType = 0;
	
	private int isComment = 0;
	
	/**
	 * 支付宝交易状态,初始值等待买家付款
	 */
	private String tradeStatus = "WAIT_BUYER_PAY";
	
	/**
	 * 用户IP信息
	 */
	private String ip;
	
	private String host;

	private String img1;

	private String img2;

	private String img3;

	private String img4;

	private String img5;

	private String img6;

	private String img7;

	private String img8;

	private String otherimg;

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	 

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getMark() {
		return mark;
	}

	public void setMark(int mark) {
		this.mark = mark;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}


	public int getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(int payStatus) {
		this.payStatus = payStatus;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getOuterid() {
		return outerid;
	}

	public void setOuterid(String outerid) {
		this.outerid = outerid;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	
	

	public int getPayType() {
		return payType;
	}

	public void setPayType(int payType) {
		this.payType = payType;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public String getExpressName() {
		return expressName;
	}

	public void setExpressName(String expressName) {
		this.expressName = expressName;
	}

	public int getExpressType() {
		return expressType;
	}

	public void setExpressType(int expressType) {
		this.expressType = expressType;
	}

	public String getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}
	
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("id=");
		sb.append(id);
		sb.append("outerid=");
		sb.append(outerid);
		sb.append("customerId=");
		sb.append(customerId);
		sb.append(":name=");
		sb.append(name);
		sb.append(":mobile=");
		sb.append(mobile);
		sb.append(":addr=");
		sb.append(addr);
		sb.append(":remark=");
		sb.append(remark);
		sb.append(":status=");
		sb.append(status);
		sb.append(":mark=");
		sb.append(mark);
		sb.append(":updateDate=");
		sb.append(updateDate);
		sb.append(":memo=");
		sb.append(memo);
		sb.append(":tradeNo=");
		sb.append(tradeNo);
		sb.append(":expressNo=");
		sb.append(expressNo);
		sb.append(":expressName=");
		sb.append(expressName);
		sb.append(":expressType=");
		sb.append(expressType);
		sb.append(":tradeStatus=");
		sb.append(tradeStatus);
		sb.append(":isComment=");
		sb.append(isComment);
		return sb.toString();
	}

	public int getIsComment() {
		return isComment;
	}

	public void setIsComment(int isComment) {
		this.isComment = isComment;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public int getKjStatus() {
		return kjStatus;
	}

	public void setKjStatus(int kjStatus) {
		this.kjStatus = kjStatus;
	}

	public double getKjPrice() {
		return kjPrice;
	}

	public void setKjPrice(double kjPrice) {
		this.kjPrice = kjPrice;
	}

	public String getKjPriceList() {
		return kjPriceList;
	}

	public void setKjPriceList(String kjPriceList) {
		this.kjPriceList = kjPriceList;
	}

	public int getKjDaoNum() {
		return kjDaoNum;
	}

	public void setKjDaoNum(int kjDaoNum) {
		this.kjDaoNum = kjDaoNum;
	}

	public int getIsKj() {
		return isKj;
	}

	public void setIsKj(int isKj) {
		this.isKj = isKj;
	}

	public String getImg1() {
		return img1;
	}

	public void setImg1(String img1) {
		this.img1 = img1;
	}

	public String getImg2() {
		return img2;
	}

	public void setImg2(String img2) {
		this.img2 = img2;
	}

	public String getImg3() {
		return img3;
	}

	public void setImg3(String img3) {
		this.img3 = img3;
	}

	public String getImg4() {
		return img4;
	}

	public void setImg4(String img4) {
		this.img4 = img4;
	}

	public String getImg5() {
		return img5;
	}

	public void setImg5(String img5) {
		this.img5 = img5;
	}

	public String getImg6() {
		return img6;
	}

	public void setImg6(String img6) {
		this.img6 = img6;
	}

	public String getImg7() {
		return img7;
	}

	public void setImg7(String img7) {
		this.img7 = img7;
	}

	public String getOtherimg() {
		return otherimg;
	}

	public void setOtherimg(String otherimg) {
		this.otherimg = otherimg;
	}

	public String getImg8() {
		return img8;
	}

	public void setImg8(String img8) {
		this.img8 = img8;
	}
}